计算机与现代化 ›› 2011, Vol. 1 ›› Issue (6): 48-4.doi: 10.3969/j.issn.1006-2475.2011.06.014

• 计算机仿真 • 上一篇    下一篇

列车驾驶仿真中车窗效果的仿真

吴 博,王全占   

  1. 西南交通大学电气工程学院,四川 成都 610031
  • 收稿日期:2011-03-11 修回日期:1900-01-01 出版日期:2011-06-29 发布日期:2011-06-29

Simulation of Train Window in Simulation of Train Driving

WU Bo, WANG Quan-zhan   

  1. School of Electrical Engineering, Southwestern Jiaotong University, Chengdu 610031, China
  • Received:2011-03-11 Revised:1900-01-01 Online:2011-06-29 Published:2011-06-29

摘要: 在列车视景仿真中,加入自然环境的模拟,可以增强视觉效果。在下雨环境下,列车运行时的车窗效果的模拟,可以增加环境对驾驶人员视觉的影响,进而增强模拟器的仿真效果。通过粒子系统和OpenGL贴纹理的方法,模拟雨天列车车窗雨滴效果。将刮雨器模型加入到场景中,通过刮雨器与雨滴粒子的配合,模拟出雨天环境下车窗效果。该方法在满足实时性的前提下,增强了雨天环境下列车驾驶的真实感,满足列车仿真器视景仿真的需求。

关键词: 粒子系统, 刮雨器, 车窗效果

Abstract: Adding simulation of natural environment during simulation of train visual can enhance fidelity of visual effect. Simulation of train window in train driving can increase influence of vision which the environment produce for driving personnel, and enhance the effect of simulation in train simulator. This paper uses particles system and the way of OpenGL paste texture to simulate droplet of train window in rainy day. The wiper model joins in the scene through wiper and raindrops particles to cooperate, simulates the rain day environment window effect. The way under premise of satisfying realtime, enhances the sense of reality driving train in rainy day, and meets train drive simulation visual simulation needs.

Key words: particle system, wiper, window effect